package com.ruoyi.station.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 航空加油站数据上报对象 report_gas_station
 * 
 * @author ruoyi
 * @date 2024-10-14
 */
public class ReportGasStation extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    private List<String> dateQuery;
private String start;
private String end;

    public String getStart() {
        return start;
    }

    public void setStart(String start) {
        this.start = start;
    }

    public String getEnd() {
        return end;
    }

    public void setEnd(String end) {
        this.end = end;
    }

    /** $column.columnComment */
    private Long id;


    public List<String> getDateQuery() {
        return dateQuery;
    }

    public void setDateQuery(List<String> dateQuery) {
        this.dateQuery = dateQuery;
    }

    private List<Long> workUsers;
    private String extra2;
    private String extra1;
    private String extra3;
    private String extra4;
    private List<Long> cars;

    public List<Long> getCars() {
        return cars;
    }

    public void setCars(List<Long> cars) {
        this.cars = cars;
    }

    public String getExtra1() {
        return extra1;
    }

    public void setExtra1(String extra1) {
        this.extra1 = extra1;
    }

    public String getExtra3() {
        return extra3;
    }

    public void setExtra3(String extra3) {
        this.extra3 = extra3;
    }

    public String getExtra4() {
        return extra4;
    }

    public void setExtra4(String extra4) {
        this.extra4 = extra4;
    }

    public List<Long> getWorkUsers() {
        return workUsers;
    }

    public void setWorkUsers(List<Long> workUsers) {
        this.workUsers = workUsers;
    }

    /** 名称 */
    @Excel(name = "名称",sort = 1)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String name;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")

    private Date createDate;

    /** 加油量 */
    @Excel(name = "加油量")
    private BigDecimal fuelQuantity;

    /** 温度 */
//    @Excel(name = "温度")
    private BigDecimal temperature;

    /** 密度 */
//    @Excel(name = "密度")
    private BigDecimal density;

    /** 化验单编号 */
//    @Excel(name = "化验单编号")
    private String sheetNo;

    /** 存油量 */
//    @Excel(name = "存油量")
    private BigDecimal oilStorage;


    private String deptName;
    private String orderNum;
    private BigDecimal averageFuelQuantity;

    public BigDecimal getAverageFuelQuantity() {
        return averageFuelQuantity;
    }
    private BigDecimal days;

    public BigDecimal getDays() {
        return days;
    }

    public void setDays(BigDecimal days) {
        this.days = days;
    }

    public void setAverageFuelQuantity(BigDecimal averageFuelQuantity) {
        this.averageFuelQuantity = averageFuelQuantity;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    /** 异常情况 */
    @Excel(name = "异常情况")
    private String error;

    /** 上报人用户id */
    private Long reportPerson;

    /** 配车信息 */
//    @Excel(name = "配车信息")
    private String carId;
    @Excel(name = "配车信息")
    private String carInfo;

    public String getCarInfo() {
        return carInfo;
    }

    public void setCarInfo(String carInfo) {
        this.carInfo = carInfo;
    }

    /** 工作人员id */
    private Long workPerson;

    /** 污油罐高度 */
    @Excel(name = "污油罐高度")
    private BigDecimal dirtyOilTankHeight;

    /** 污油罐重量 */
//    @Excel(name = "污油罐重量")
    private BigDecimal dirtyOilTankWeight;

    /** 加油架次 */
    @Excel(name = "加油架次")
    private Long oilCount;

    /** 前日迎检情况 */
    @Excel(name = "前日迎检情况")
    private String info;

    /** 温度/密度 */
//    @Excel(name = "温度/密度")
    private List<Map> rate;
       @Excel(name = "温度/密度测量记录")
    private String rateName;
    /** 油罐id */
//    @Excel(name = "油罐id")
    private Long tankId;

    /** 污油罐id */
//    @Excel(name = "污油罐id")
    private Long dirtyTankId;

    @Excel(name = "污油罐")
    private String dirtyTankName;
//    @Excel(name = "油罐")
    private String tankName;

    public String getDirtyTankName() {
        return dirtyTankName;
    }

    public void setDirtyTankName(String dirtyTankName) {
        this.dirtyTankName = dirtyTankName;
    }

    public String getTankName() {
        return tankName;
    }

    public void setTankName(String tankName) {
        this.tankName = tankName;
    }

    /** $column.columnComment */
//    @Excel(name = "温度测量json")
    private String rateJson;

    /** 上报日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
//    @Excel(name = "上报日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportDate;

    @Excel(name = "工作人")
    private String workName;

    @Excel(name = "汇报人")
    private String reportName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setFuelQuantity(BigDecimal fuelQuantity) 
    {
        this.fuelQuantity = fuelQuantity;
    }

    public BigDecimal getFuelQuantity() 
    {
        return fuelQuantity;
    }
    public void setTemperature(BigDecimal temperature) 
    {
        this.temperature = temperature;
    }

    public BigDecimal getTemperature() 
    {
        return temperature;
    }
    public void setDensity(BigDecimal density) 
    {
        this.density = density;
    }

    public BigDecimal getDensity() 
    {
        return density;
    }
    public void setSheetNo(String sheetNo) 
    {
        this.sheetNo = sheetNo;
    }

    public String getSheetNo() 
    {
        return sheetNo;
    }
    public void setOilStorage(BigDecimal oilStorage) 
    {
        this.oilStorage = oilStorage;
    }

    public BigDecimal getOilStorage() 
    {
        return oilStorage;
    }
    public void setError(String error) 
    {
        this.error = error;
    }

    public String getError() 
    {
        return error;
    }
    public void setReportPerson(Long reportPerson)
    {
        this.reportPerson = reportPerson;
    }

    public Long getReportPerson()
    {
        return reportPerson;
    }
    public void setCarId(String carId)
    {
        this.carId = carId;
    }

    public String getCarId()
    {
        return carId;
    }
    public void setWorkPerson(Long workPerson)
    {
        this.workPerson = workPerson;
    }

    public Long getWorkPerson()
    {
        return workPerson;
    }
    public void setDirtyOilTankHeight(BigDecimal dirtyOilTankHeight) 
    {
        this.dirtyOilTankHeight = dirtyOilTankHeight;
    }

    public BigDecimal getDirtyOilTankHeight() 
    {
        return dirtyOilTankHeight;
    }
    public void setDirtyOilTankWeight(BigDecimal dirtyOilTankWeight) 
    {
        this.dirtyOilTankWeight = dirtyOilTankWeight;
    }

    public BigDecimal getDirtyOilTankWeight() 
    {
        return dirtyOilTankWeight;
    }
    public void setOilCount(Long oilCount) 
    {
        this.oilCount = oilCount;
    }

    public Long getOilCount() 
    {
        return oilCount;
    }
    public void setInfo(String info) 
    {
        this.info = info;
    }

    public String getInfo() 
    {
        return info;
    }
    public void setRate(List<Map> rate)
    {
        this.rate = rate;
    }

    public String getRateName() {
        return rateName;
    }

    public void setRateName(String rateName) {
        this.rateName = rateName;
    }

    public List<Map> getRate()
    {
        return rate;
    }
    public void setTankId(Long tankId) 
    {
        this.tankId = tankId;
    }

    public Long getTankId() 
    {
        return tankId;
    }
    public void setDirtyTankId(Long dirtyTankId) 
    {
        this.dirtyTankId = dirtyTankId;
    }

    public Long getDirtyTankId() 
    {
        return dirtyTankId;
    }
    public void setRateJson(String rateJson) 
    {
        this.rateJson = rateJson;
    }

    public String getRateJson() 
    {
        return rateJson;
    }
    public void setReportDate(Date reportDate) 
    {
        this.reportDate = reportDate;
    }

    public Date getReportDate() 
    {
        return reportDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("createDate", getCreateDate())
            .append("fuelQuantity", getFuelQuantity())
            .append("temperature", getTemperature())
            .append("density", getDensity())
            .append("sheetNo", getSheetNo())
            .append("oilStorage", getOilStorage())
            .append("error", getError())
            .append("reportPerson", getReportPerson())
            .append("carId", getCarId())
            .append("workPerson", getWorkPerson())
            .append("dirtyOilTankHeight", getDirtyOilTankHeight())
            .append("dirtyOilTankWeight", getDirtyOilTankWeight())
            .append("oilCount", getOilCount())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("info", getInfo())
            .append("rate", getRate())
            .append("tankId", getTankId())
            .append("dirtyTankId", getDirtyTankId())
            .append("rateJson", getRateJson())
            .append("reportDate", getReportDate())
            .toString();
    }

    public void setWorkName(String workName) {

        this.workName = workName;
    }

    public String getWorkName() {
        return workName;
    }

    public void setReportName(String reportName) {
        this.reportName = reportName;
    }

    public String getReportName() {
        return reportName;
    }

    public void setExtra2(String extra2) {
        this.extra2 = extra2;
    }

    public String getExtra2() {
        return extra2;
    }
}
